package com.zeus.gen.index.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author liuwei
 * @date 2018/8/16 13:25
 */
@Controller
@RequestMapping("/")
public class IndexController {

    @RequestMapping("/")
    public String layout() {
        return "layout/index";
    }

    @RequestMapping("/index")
    public String index() {
        return "index";
    }
}
